package com.itheima.core.feign;

import com.itheima.common.vo.ResultVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.io.Serializable;

/**
 * @version 1.0
 * @description 说明
 * @package com.itheima.core.feign
 */
public interface CoreFeign<T> {

    @GetMapping("/getByApUserId/{primaryKey}")
    ResultVo<T> getByApUserId(@PathVariable(value = "primaryKey") Serializable primaryKey);
}
